package com.study.design.state;

import lombok.extern.slf4j.Slf4j;


/**
 * @version V1.0
 * @title: SleepingState
 * @description: ${DESCRIPTION}
 * @author: wanghuilong
 * @date: 2019-06-26 14:01
 * @copyright: http://fingo.com.my/
 */
@Slf4j
public class SleepingState extends State {
    @Override
    public void WriteProgram(Work w) {
        log.info("addLogStart WriteProgram InputParam: w : {} ", w);
        System.out.println("当前时间:" + w.getHour() + "点不行了，睡着了");
    }
}
